package cn.zb.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.orm.hibernate5.HibernateTemplate;
import org.springframework.stereotype.Repository;
import cn.zb.pojo.Section;

@Repository
public class SectionDao {
	@Resource
	private HibernateTemplate template;
	public List select(){

		return template.find("from Section where FId  is null", null);
	}

}
